<!-- 右侧  -->
<div id="page-inner">
    <div class="panel-body">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-header">
                    水平衡评估 <small>企业取水水源情况表</small>
                </h1>
            </div>
        </div>
        <div class="row"></div>
        	<div id="toolbar" class="btn-group">
            	<button id="btn_add" type="button" class="btn btn-default">
                	<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
            	</button>
            	<button id="btn_edit" type="button" class="btn btn-default">
                	<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>编辑
            	</button>
            	<button id="btn_delete" type="button" class="btn btn-default">
                	<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
            	</button>
        	</div>
    	</div>
        <table id="data_table" class="table-striped table-hover"></table>
    </div>
</div>


<!-- 添加 -->
<div class="modal fade" id="new_data" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">添加一项企业取水水源情况表信息</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label>测试日期</label>
                    <input class="form-control" placeholder="必填"  id="newCreatedAt" type="text" readonly="readonly">
                </div>
                <div class="form-group">
                    <label>企业名称</label>
                    <input class="form-control" placeholder="必填"  id="newCompanyName" value="">
                </div>
                <div class="form-group">
                    <label>企业类型</label>
                    <input class="form-control" placeholder="必填"  id="newCompanyClass" value="">
                </div>
                <div class="form-group">
                    <label>测试单位</label>
                    <input class="form-control" placeholder="必填"  id="newTestUnit" value="">
                </div>
                <div class="form-group">
                    <label>测试人员</label>
                    <input class="form-control" placeholder="必填"  id="newTestPerson" value="">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="new_data_submit">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<!-- 编辑 -->
<div class="modal fade" id="edit_data" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">编辑一项企业取水水源情况表信息</h4>
            </div>
            <div class="modal-body" >
            	<div class="form-group">
                    <label>测试日期</label>
                    <input class="form-control" placeholder="必填" id="editCreatedAt" type="text" >
                </div>
                <div class="form-group">
                    <label>企业名称</label>
                    <input class="form-control" placeholder="必填" id="editCompanyName">
                </div>
                <div class="form-group">
                    <label>企业类型</label>
                    <input class="form-control" placeholder="必填" id="editCompanyClass">
                </div>
                <div class="form-group">
                    <label>测试单位</label>
                    <input class="form-control" placeholder="必填" id="editTestUnit">
                </div>
                <div class="form-group">
                    <label>测试人员</label>
                    <input class="form-control" placeholder="必填" id="editTestPerson">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="edit_data_submit">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>


<script src="pages/js/field_check.js"></script>
<script src="pages/js/label_eva_wsrc_info.js"></script>